﻿using System.Collections;

namespace ConsoleApp2._1028;

public class Demo
{
    public void TestPrint()
    {
        ArrayList arrayList = new ArrayList();
        arrayList.Add(1);
        arrayList.Add(2.5);
        arrayList.Add("3");
        foreach (object o in arrayList)
        {
            Console.WriteLine(o);
        }
        List<Student> students = new List<Student>();
        students.Add(new Student());
        students.Add(new Student());
        //students.Add(new User());
        Dictionary<String,object> dict = new Dictionary<String,object>();
        //Hashtable hashtable = new Hashtable();
        Stack<Student> stack = new Stack<Student>();
    }
}